package com.itheima.domain;

import java.io.Serializable;

/**
 * @param
 * @return
 */
public class IDCard implements Serializable {
    private Integer id;
    private String number;
    private Integer pid;

    @Override
    public String toString() {
        return "IDCard{" +
                "id=" + id +
                ", number=" + number +
                ", pid=" + pid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public IDCard(Integer id, String number, Integer pid) {
        this.id = id;
        this.number = number;
        this.pid = pid;
    }

    public IDCard() {
    }
}
